package com.victualler.core.config.permission.entity;

import com.victualler.core.base.dao.BaseDao;
import com.victualler.core.common.annotation.InitEditColumn;
import com.victualler.core.common.annotation.ListShowColumn;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author: Guoshichang
 * @Date: Create in 12:40 2018-07-01
 * @Discription: 系统用户对应的角色的单元
 */
@Entity
@Table(name="common_role")
public class RoleInfoDao extends BaseDao implements Serializable{
    //角色名称
    @ListShowColumn(title = "角色名称")
    @InitEditColumn(title = "角色名称",sort = 1)
    private String  name;
    //备注
    @ListShowColumn(title = "备注")
    @InitEditColumn(title = "备注",sort = 1,required = false)
    private String  remarks;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
